package cn;

import cn.webrx.bs.service.BookDao;
import cn.webrx.bs.service.BookDaoImpl;

import java.sql.SQLException;

/**
 * <p>功能描述: </p>
 *
 * @author webrx
 * @version 1.0
 * @date 2020-08-05 14:19
 */
public class Demo {

    public static void main(String[] args) throws SQLException {
        BookDao bdao = new BookDaoImpl();
        System.out.println(bdao.count());

        System.out.println(bdao.count("online and name like '%java%'"));
    }

}
